_clearUserVerifier() {
if (this._userVerifier) {
this._disconnectSignals();
+ this._userVerifier.get_connection().disconnectObject(this);
this._userVerifier.run_dispose();
this._userVerifier = null;
if (this._userVerifierChoiceList) {
this._clearUserVerifier();
this._userVerifier = await this._client.open_reauthentication_channel(
userName, this._cancellable);
+ this._userVerifier.get_connection().connectObject('closed',
+ () => this.clear(), this);
} catch (e) {
if (e.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED))
return;
this._clearUserVerifier();
this._userVerifier =
await this._client.get_user_verifier(this._cancellable);
+ this._userVerifier.get_connection().connectObject('closed',
+ () => this.clear(), this);
} catch (e) {
if (e.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED))
return;